package com.chunuo.blogs.dao;

import com.chunuo.blogs.entity.Classify;

import java.util.List;

/**
 * 分类Dao
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-05-17 12:04
 */
public interface ClassifyDao {

    List<Classify> findAll();

    Classify findById(Integer id);

    List<Classify> findByBlogsId(Integer id);

    Integer add(Classify classify);

    Integer delete(Integer id);

    Integer update(Classify classify);

}
